<?php

if (! function_exists('domain_path')) {
    function domain_path($path = ''): string
    {
        return base_path('domain').($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
}